#include "characterclass.h"
#include "campaign.h"

CharacterClass::CharacterClass(DataSuite *parent) :
    DataSuite(parent),
    d(new Data())
{
    // register character class types here
}

CharacterClass::CharacterClass(const CharacterClass &other) :
    DataSuite(other),
    d(other.d)
{
}

int CharacterClass::hitDie() const
{
    return d->hitdie.toInt();
}

void CharacterClass::setHitDie(int hitdie)
{
    d->hitdie = hitdie;
}

int CharacterClass::skillPoints() const
{
    return d->skillpoints.toInt();
}

void CharacterClass::setSkillPoints(int skillpoints)
{
    d->skillpoints = skillpoints;
}

int CharacterClass::internalFieldCount() const
{
    return DataSuite::internalFieldCount();
//    qDebug() << Q_FUNC_INFO;
//    return (Field_LAST - DataContainer::Field_FIRST +1);
}
